package cn.iocoder.yudao.module.shop.controller.admin.priceitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 价格单项 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ShopPriceItemBaseVO {

    @Schema(description = "价格套餐id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25094")
    @NotNull(message = "价格套餐id不能为空")
    private Long priceId;

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19275")
    @NotNull(message = "项目id不能为空")
    private Long itemId;

    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "16022")
    @NotNull(message = "价格不能为空")
    private Integer price;

}
